﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001241 RID: 4673
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class StartTrialActivityScRsp : IMessage<StartTrialActivityScRsp>, IMessage, IEquatable<StartTrialActivityScRsp>, IDeepCloneable<StartTrialActivityScRsp>, IBufferMessage
	{
		// Token: 0x17003B47 RID: 15175
		// (get) Token: 0x0600D1A6 RID: 53670 RVA: 0x00234ED0 File Offset: 0x002330D0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<StartTrialActivityScRsp> Parser
		{
			get
			{
				return StartTrialActivityScRsp._parser;
			}
		}

		// Token: 0x17003B48 RID: 15176
		// (get) Token: 0x0600D1A7 RID: 53671 RVA: 0x00234ED7 File Offset: 0x002330D7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return StartTrialActivityScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003B49 RID: 15177
		// (get) Token: 0x0600D1A8 RID: 53672 RVA: 0x00234EE9 File Offset: 0x002330E9
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return StartTrialActivityScRsp.Descriptor;
			}
		}

		// Token: 0x0600D1A9 RID: 53673 RVA: 0x00234EF0 File Offset: 0x002330F0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartTrialActivityScRsp()
		{
		}

		// Token: 0x0600D1AA RID: 53674 RVA: 0x00234EF8 File Offset: 0x002330F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartTrialActivityScRsp(StartTrialActivityScRsp other) : this()
		{
			this.stageId_ = other.stageId_;
			this.retcode_ = other.retcode_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D1AB RID: 53675 RVA: 0x00234F29 File Offset: 0x00233129
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public StartTrialActivityScRsp Clone()
		{
			return new StartTrialActivityScRsp(this);
		}

		// Token: 0x17003B4A RID: 15178
		// (get) Token: 0x0600D1AC RID: 53676 RVA: 0x00234F31 File Offset: 0x00233131
		// (set) Token: 0x0600D1AD RID: 53677 RVA: 0x00234F39 File Offset: 0x00233139
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint StageId
		{
			get
			{
				return this.stageId_;
			}
			set
			{
				this.stageId_ = value;
			}
		}

		// Token: 0x17003B4B RID: 15179
		// (get) Token: 0x0600D1AE RID: 53678 RVA: 0x00234F42 File Offset: 0x00233142
		// (set) Token: 0x0600D1AF RID: 53679 RVA: 0x00234F4A File Offset: 0x0023314A
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x0600D1B0 RID: 53680 RVA: 0x00234F53 File Offset: 0x00233153
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as StartTrialActivityScRsp);
		}

		// Token: 0x0600D1B1 RID: 53681 RVA: 0x00234F61 File Offset: 0x00233161
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(StartTrialActivityScRsp other)
		{
			return other != null && (other == this || (this.StageId == other.StageId && this.Retcode == other.Retcode && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D1B2 RID: 53682 RVA: 0x00234FA0 File Offset: 0x002331A0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.StageId != 0U)
			{
				num ^= this.StageId.GetHashCode();
			}
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D1B3 RID: 53683 RVA: 0x00234FF8 File Offset: 0x002331F8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D1B4 RID: 53684 RVA: 0x00235000 File Offset: 0x00233200
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D1B5 RID: 53685 RVA: 0x0023500C File Offset: 0x0023320C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.Retcode);
			}
			if (this.StageId != 0U)
			{
				output.WriteRawTag(64);
				output.WriteUInt32(this.StageId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D1B6 RID: 53686 RVA: 0x00235068 File Offset: 0x00233268
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.StageId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.StageId);
			}
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D1B7 RID: 53687 RVA: 0x002350C0 File Offset: 0x002332C0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(StartTrialActivityScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.StageId != 0U)
			{
				this.StageId = other.StageId;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D1B8 RID: 53688 RVA: 0x00235110 File Offset: 0x00233310
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D1B9 RID: 53689 RVA: 0x0023511C File Offset: 0x0023331C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					if (num != 64U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.StageId = input.ReadUInt32();
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04005408 RID: 21512
		private static readonly MessageParser<StartTrialActivityScRsp> _parser = new MessageParser<StartTrialActivityScRsp>(() => new StartTrialActivityScRsp());

		// Token: 0x04005409 RID: 21513
		private UnknownFieldSet _unknownFields;

		// Token: 0x0400540A RID: 21514
		public const int StageIdFieldNumber = 8;

		// Token: 0x0400540B RID: 21515
		private uint stageId_;

		// Token: 0x0400540C RID: 21516
		public const int RetcodeFieldNumber = 7;

		// Token: 0x0400540D RID: 21517
		private uint retcode_;
	}
}
